﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.Linq
{
    public static class Ext
    {
        private static IExpressionBuilder[] _builderList;

        public static IExpressionBuilder[] BuilderList
        {
            get
            {
                if (_builderList == null)
                {
                    lock (typeof(Ext))
                    {
                        if (_builderList == null)
                        {
                            _builderList = ReflectionHelper.GetImplementObjects<IExpressionBuilder>();
                        }
                    }
                }

                return _builderList;
            }
        }
    }
}